All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.apple.alpha.app.Form

java.lang.Object
   |
   +----com.apple.alpha.core.NativeObject
           |
           +----com.apple.alpha.app.Responder
                   |
                   +----com.apple.alpha.app.View
                           |
                           +----com.apple.alpha.app.Control
                                   |
                                   +----com.apple.alpha.app.Matrix
                                           |
                                           +----com.apple.alpha.app.Form

public class Form
extends Matrix
This class wraps the Objective-C class NSForm.


Constructor Index

 o Form()
This default constructor is equivalent to Objective-C's [[NSForm alloc] init].
 o Form(boolean, int)
Protected constructor used by the bridge to wrap an Objective-C object.
 o Form(Coder)
This constructor has the same effect as calling - initWithCoder: on a newly allocated object.
 o Form(Rect)
This constructor has the same effect as calling - initWithFrame: on a newly allocated object.
 o Form(Rect, int, Cell, int, int)
This constructor has the same effect as calling - initWithFrame:mode:prototype:numberOfRows:numberOfColumns: on a newly allocated object.

Method Index

 o addEntry(String)
A wrapper for the - addEntry: Objective-C instance method.
 o cellAtIndex(int)
A wrapper for the - cellAtIndex: Objective-C instance method.
 o drawCellAtIndex(int)
A wrapper for the - drawCellAtIndex: Objective-C instance method.
 o indexOfCellWithTag(int)
A wrapper for the - indexOfCellWithTag: Objective-C instance method.
 o indexOfSelectedItem()
A wrapper for the - indexOfSelectedItem Objective-C instance method.
 o insertEntryAtIndex(String, int)
A wrapper for the - insertEntry:atIndex: Objective-C instance method.
 o removeEntryAtIndex(int)
A wrapper for the - removeEntryAtIndex: Objective-C instance method.
 o selectTextAtIndex(int)
A wrapper for the - selectTextAtIndex: Objective-C instance method.
 o setBezeled(boolean)
A wrapper for the - setBezeled: Objective-C instance method.
 o setBordered(boolean)
A wrapper for the - setBordered: Objective-C instance method.
 o setEntryWidth(float)
A wrapper for the - setEntryWidth: Objective-C instance method.
 o setInterlineSpacing(float)
A wrapper for the - setInterlineSpacing: Objective-C instance method.
 o setTextAlignment(int)
A wrapper for the - setTextAlignment: Objective-C instance method.
 o setTextFont(Font)
A wrapper for the - setTextFont: Objective-C instance method.
 o setTitleAlignment(int)
A wrapper for the - setTitleAlignment: Objective-C instance method.
 o setTitleFont(Font)
A wrapper for the - setTitleFont: Objective-C instance method.

Constructors

 o Form
 protected Form(boolean shouldAllocate,
                int objcObject)
Protected constructor used by the bridge to wrap an Objective-C object. It should never be invoked directly.

 o Form
 public Form()
This default constructor is equivalent to Objective-C's [[NSForm alloc] init].

 o Form
 public Form(Coder aDecoder)
This constructor has the same effect as calling - initWithCoder: on a newly allocated object.

 o Form
 public Form(Rect frameRect)
This constructor has the same effect as calling - initWithFrame: on a newly allocated object.

 o Form
 public Form(Rect frameRect,
             int aMode,
             Cell aCell,
             int rowsHigh,
             int colsWide)
This constructor has the same effect as calling - initWithFrame:mode:prototype:numberOfRows:numberOfColumns: on a newly allocated object.

Methods

 o indexOfSelectedItem
 public native int indexOfSelectedItem()
A wrapper for the - indexOfSelectedItem Objective-C instance method.

 o setEntryWidth
 public native void setEntryWidth(float width)
A wrapper for the - setEntryWidth: Objective-C instance method.

 o setInterlineSpacing
 public native void setInterlineSpacing(float spacing)
A wrapper for the - setInterlineSpacing: Objective-C instance method.

 o setBordered
 public native void setBordered(boolean flag)
A wrapper for the - setBordered: Objective-C instance method.

 o setBezeled
 public native void setBezeled(boolean flag)
A wrapper for the - setBezeled: Objective-C instance method.

 o setTitleAlignment
 public native void setTitleAlignment(int mode)
A wrapper for the - setTitleAlignment: Objective-C instance method.

 o setTextAlignment
 public native void setTextAlignment(int mode)
A wrapper for the - setTextAlignment: Objective-C instance method.

 o setTitleFont
 public native void setTitleFont(Font fontObj)
A wrapper for the - setTitleFont: Objective-C instance method.

 o setTextFont
 public native void setTextFont(Font fontObj)
A wrapper for the - setTextFont: Objective-C instance method.

 o cellAtIndex
 public native Object cellAtIndex(int index)
A wrapper for the - cellAtIndex: Objective-C instance method.

 o drawCellAtIndex
 public native void drawCellAtIndex(int index)
A wrapper for the - drawCellAtIndex: Objective-C instance method.

 o addEntry
 public native FormCell addEntry(String title)
A wrapper for the - addEntry: Objective-C instance method.

 o insertEntryAtIndex
 public native FormCell insertEntryAtIndex(String title,
                                           int index)
A wrapper for the - insertEntry:atIndex: Objective-C instance method.

 o removeEntryAtIndex
 public native void removeEntryAtIndex(int index)
A wrapper for the - removeEntryAtIndex: Objective-C instance method.

 o indexOfCellWithTag
 public native int indexOfCellWithTag(int aTag)
A wrapper for the - indexOfCellWithTag: Objective-C instance method.

 o selectTextAtIndex
 public native void selectTextAtIndex(int index)
A wrapper for the - selectTextAtIndex: Objective-C instance method.


All Packages  Class Hierarchy  This Package  Previous  Next  Index